Important: python27-python and python27-python-jinja2 security and bug fix update

Synopsis

Important: python27-python and python27-python-jinja2 security and bug fix update

Type/Severity

Security Advisory: Important

Topic

An update for python27-python and python27-python-jinja2 is now available for Red Hat Software Collections.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

The following packages have been upgraded to a later upstream version: python27-python (2.7.16). (BZ#1709349)

Security Fix(es):

  • python-jinja2: Sandbox escape due to information disclosure via str.format (CVE-2016-10745)
  • python: DOS via regular expression backtracking in difflib.IS_LINE_JUNK method in difflib (CVE-2018-1061)
  • python: Missing salt initialization in _elementtree.c module (CVE-2018-14647)
  • python: improper neutralization of CRLF sequences in urllib module (CVE-2019-9740)
  • python: improper neutralization of CRLF sequences in urllib module (CVE-2019-9947)
  • python: DOS via regular expression catastrophic backtracking in apop() method in pop3lib (CVE-2018-1060)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • urlsplit doesn't accept a NFKD hostname with a port number (BZ#1709329)

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

For the update to take effect, all applications using Jinja2 must be restarted.

Affected Products

  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.6 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.6 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.6 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.5 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.5 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.5 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.4 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.4 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.4 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 6 x86_64
  • Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 7 x86_64
  • Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 6 x86_64

Fixes

  • BZ - 1549191 - CVE-2018-1060 python: DOS via regular expression catastrophic backtracking in apop() method in pop3lib
  • BZ - 1549192 - CVE-2018-1061 python: DOS via regular expression backtracking in difflib.IS_LINE_JUNK method in difflib
  • BZ - 1631822 - CVE-2018-14647 python: Missing salt initialization in _elementtree.c module
  • BZ - 1688169 - CVE-2019-9740 python: improper neutralization of CRLF sequences in urllib module
  • BZ - 1695572 - CVE-2019-9947 python: improper neutralization of CRLF sequences in urllib module
  • BZ - 1698345 - CVE-2016-10745 python-jinja2: Sandbox escape due to information disclosure via str.format
  • BZ - 1709349 - Update Python to 2.7.16 [rhscl-3.2.z]

CVEs

References